#include<stdio.h>
void f(int *x){	
	++*x;
}
int h(int x){
	x++;
	return x+1;
}
void g(int a[],int n){
	printf("inside g:a=%d\n",a);
	++*a;
}
int main(){
	int x=3;
	printf("%d\n",x);
	h(x);
	printf("%d\n",x);
	int a[]={2,3};	//rvalue  not lvalue
	printf("inside main:a=%d\n",a);
	g(a,2);
	printf("%d\n",a[0]);//
	return 0;
}